package com.ifengxue.plugin.component;

import com.intellij.openapi.project.Project;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@Data
public class AutoGeneratorConfig implements Serializable {

    private static final long serialVersionUID = -8978327106950673087L;
    private String removeTablePrefix;
    private String removeFieldPrefix;
    private String extendBaseClass;
    private String entityPackage;
    private String repositoryPackage;
    private Set<String> excludeFields;
    /**
     * equal to {@link Project#getBasePath()}
     */
    private String projectBasePath;
    private String entityDirectory;
    private String repositoryDirectory;
    private boolean useLombok;
    private boolean generateRepository;
    private boolean implementSerializable;
    private boolean generateClassComment;
    private boolean generateFieldComment;
    private boolean generateMethodComment;

}
